﻿@page "/"
@using LayuiBlazor.Shared
@using Microsoft.JSInterop
@namespace LayuiBlazor.Server.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>LayuiBlazor.Server</title>
    <base href="~/" />
    <link href="_content/LayuiBlazor/layui/css/layui.css" rel="stylesheet" asp-append-version="true" />
</head>

<body>
    <app>
        @(await Html.RenderComponentAsync<App>(RenderMode.ServerPrerendered))
    </app>

    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
        <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
        <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="_content/LayuiBlazor/layui/layui.js" asp-append-version="true"></script>
    <script src="_framework/blazor.server.js" asp-append-version="true"></script>
    @*<script>
            //JavaScript代码区域
            layui.use(function () {
                var element = layui.element;
            });
        </script>*@
</body>

</html>